﻿using BankTransfer.Bank.Domain.Domain.Entity;
using BankTransfer.Bank.Types.Types;

namespace BankTransfer.Bank.Domain.Repository
{
    public interface IAccountRepository
    {
        Account Find(AccountId id);

        Account Find(AccountNumber accountNumber);

        Account Find(UserId userId);

        Account Save(Account account);
    }
}